package com.puboot.module.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.puboot.module.admin.model.BizArticle;
import com.puboot.module.admin.model.BizBanner;
import org.apache.ibatis.annotations.Param;
import org.springframework.boot.Banner;

import java.util.List;

public interface BizBannerMapper extends BaseMapper<BizBanner> {

    int deleteBatchIds(Integer[] ids);

    List<BizBanner> selectPageBanner(@Param("page") IPage<BizBanner> page, @Param("bizBanner") BizBanner banner);

    List<BizBanner> selectAllBanner();
}
